package com.example.dynamicschedule.service.impl;


import com.example.dynamicschedule.bean.CkCreditOutOneReservedData;
import com.example.dynamicschedule.dao.CkCreditOutOneReservedDataMapper;
import com.example.dynamicschedule.service.CkCreditOutOneReservedDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CkCreditOutOneReservedDataServiceImpl implements CkCreditOutOneReservedDataService {
    @Autowired
    private CkCreditOutOneReservedDataMapper ckCreditOutOneReservedDataMapper;

    @Override
    public List<CkCreditOutOneReservedData> getCurrentMethodRecoryData(Map<String,String> map) {
        List<CkCreditOutOneReservedData> reservedData = ckCreditOutOneReservedDataMapper.getCurrentMethodRecoryDate(map);
        return reservedData;
    }
}
